<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container{
            background-color: gray;
            color: red;
            display: flex;
            justify-content: space-around;
        }
    </style>
</head>
<body>
<div class="container">
    <?php
        $i=100;
        while($i<=999){
            $a=(int) ($i/100);//百位
            $b=(int) (($i%100)/10);
            $c=(int) ($i%10);//个位
            if(pow($a,3) + pow($b,3) + pow($c,3) == $i){
    ?>
                <span><?=$i ?></span>
    <?php
            }
            $i++;
        }
    ?>
</div>
<br>
<br>
<?php
    for($i=1;$i<=9;$i++){
        for($j=1;$j<=$i;$j++){
            echo "{$j}*{$i}=" . ($j*$i) . "&nbsp;&nbsp;";
        }
        echo "<br>";
    }
?>
</body>
</html>